namespace DesignPattern.Behavioral.Vistor
{
    public class SalariedEmployee : IEmployee
    {
        public string Accept(IEmployeeVistor employeeVistor)
        {
            return (employeeVistor as ISalariedEmployeeVistor)?.Visit(this);
        }
    }
}